package com.fin.quant.instra.mysql.mapper;

import com.fin.quant.instra.mysql.model.PortfolioPosition;
import com.fin.quant.instra.mysql.model.PortfolioPositionExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface PortfolioPositionMapper {
    long countByExample(PortfolioPositionExample example);

    int deleteByExample(PortfolioPositionExample example);

    int deleteByPrimaryKey(Long id);

    int insert(PortfolioPosition record);

    int insertSelective(PortfolioPosition record);

    List<PortfolioPosition> selectByExample(PortfolioPositionExample example);

    PortfolioPosition selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") PortfolioPosition record, @Param("example") PortfolioPositionExample example);

    int updateByExample(@Param("record") PortfolioPosition record, @Param("example") PortfolioPositionExample example);

    int updateByPrimaryKeySelective(PortfolioPosition record);

    int updateByPrimaryKey(PortfolioPosition record);
}